package com.xxxx.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xxxx.server.page.RespPageBean;
import com.xxxx.server.pojo.Employee;
import com.xxxx.server.pojo.EmployeeDataBase;
import io.swagger.models.auth.In;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.Date;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhoubin
 * @since 2020-10-15
 */

public interface IEmployeeService extends IService<Employee> {



    //分页 获取员工信息
    RespPageBean getEmployeeByPage(Integer currentPage, Integer size, Employee employee, Date[] beginDateScope);


    //删除员工信息
    Integer deleteEmployeeById(Integer id);







    //添加一条员工信息
    Integer saveEmployee(EmployeeDataBase employeeDataBase);

    //更新员工
    Integer updateEmployeeById(Employee employee);

    //获取id  +1 赋值给新进员工
    Integer maxWorkID();


    //导出所有数据
    List<EmployeeDataBase> QueryAllEmployee();



}
